import Layout from '@/layout'
export default {
  path: '/employee',
  component: Layout,
  children: [
    {
      path: '',
      name: 'Employee',
      component: () => import('@/views/employee/index'),
      meta: { title: '员工管理', icon: 'shopping' }
    },
    {
      path: 'detail/:id?',
      // path: '/employee/detail',
      name: 'Detail',
      hidden: true,
      component: () => import('@/views/employee/Detail.vue'),
      meta: { title: '详情', icon: 'shopping' }
    }

  ]
}
